function handleComplete(){
		
		document.getElementById("loader").className = "";

	//////////////////////////////////////////////////////////////////////////////////////////////	
		
		bg = new createjs.Bitmap(loader.getResult("bg")); 
		
	///////////////////////////////////////////////////////////////////////////////////////////////	
		
		var spritesheet = new createjs.SpriteSheet({
			"framerate":24,
			"images":[loader.getResult("pikachu")],
			"frames":[
			[0, 0, 128, 64, 0, -3, 0],
			[128, 0, 128, 64, 0, -3, 0],
			[256, 0, 128, 64, 0, -3, 0],
			[384, 0, 128, 64, 0, -3, 0],
			[512, 0, 128, 64, 0, -3, 0],
			[640, 0, 128, 64, 0, -3, 0],
			[768, 0, 128, 64, 0, -3, 0]
			],
			"animations":{
			"run": {"speed": 0.5, "frames": [0, 1, 2, 3]},
			"attack": {"speed": 1, "frames": [4, 5, 6]}
			}
			});
		
		pikachu = new createjs.Sprite(spritesheet, "run");
		pikachu.x = 0;
		pikachu.y = 300;
		pikachu.scaleY = pikachu.scaleX = 1;
		pikachu.framerate = 20;
		
		stage.addEventListener("stagemousedown", handleAttackStart);
		stage.addEventListener("stagemouseup", handleAttackStop);
		
var sss = new createjs.SpriteSheet({
		"framerate":24,
		"images":[loader.getResult("bolt")],
		"frames":[
		[0, 0, 512, 512, 0, 0, 0],
		[512, 0, 512, 512, 0, 0, 0],
		[1024, 0, 512, 512, 0, 0, 0],
		[0, 512, 512, 512, 0, 0, 0],
		[512, 512, 512, 512, 0, 0, 0],
		[1024, 512, 512, 512, 0, 0, 0],
		[0, 1024, 512, 512, 0, 0, 0],
		[512, 1024, 512, 512, 0, 0, 0],
		[1024, 1024, 512, 512, 0, 0, 0],
		[0, 1536, 512, 512, 0, 0, 0]
		],
		"animations":{
		"bolt": {"speed": 0.7, "frames": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
		}
		});
		
		bolt = new createjs.Sprite(sss,"bolt");
		bolt.scaleY = bolt.scaleX = 0.3;
		bolt.framerate = 20;
		
	var ppp = new createjs.SpriteSheet({
		"framerate":24,
		"images":[loader.getResult("boom")],
		"frames":[
		[0, 0, 256, 256, 0, -30, -24],
		[256, 0, 256, 256, 0, -30, -24],
		[512, 0, 256, 256, 0, -30, -24],
		[768, 0, 256, 256, 0, -30, -24],
		[1024, 0, 256, 256, 0, -30, -24],
		[1280, 0, 256, 256, 0, -30, -24],
		[1536, 0, 256, 256, 0, -30, -24],
		[0, 256, 256, 256, 0, -30, -24],
		[256, 256, 256, 256, 0, -30, -24],
		[512, 256, 256, 256, 0, -30, -24]
		],
		"animations":{
		"boom": {"speed": 1, "frames": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}
		}
		});
		
		explode = new createjs.Sprite(ppp,"boom");
		explode.scaleY = explode.scaleX = 1;
		explode.framerate = 20;
		
function handleKeyDown(e) {
		switch(event.keyCode) {
			case KEYCODE_LEFT: lfHeld = true;
				break;
			case KEYCODE_RIGHT: rtHeld = true;			
				break;
			case KEYCODE_UP: upHeld = true;
				break;
			case KEYCODE_DOWN: dnHeld = true;
				break;
			case KEYCODE_ENTER:	init();
		}
		stage.update();
	}